<div class="title-de"><?php echo h($model->title) ?></div>

<ul class="meu-mess">
    <?php if ($model->website != '') : ?>
        <li><a class="website" href="<?php echo $model->website ?>">Website</a></li>
    <?php endif; ?>
    <li><a class="e-mail" href="mailto:<?php echo $model->contact_email ?>">E-mail</a></li>
</ul>

<div class="re-center">

    <ul class="reship">
        <li>
            <span class="left-ship">Posted Ad Number</span>
            <span class="right-ship"><strong><?php echo $model->getAdNumber() ?></strong></span>

        </li>

        <li>
            <span class="left-ship">Category</span>
            <span class="right-ship"><?php
		//echo $model->getType() 
		echo $model->mainCategory->name;
		foreach ($model->categories as $cat) {
		    echo ', ' . $cat->name;
		}
		?></span>
        </li>
        <li>
            <span class="left-ship">Location: </span>
            <span class="right-ship"><strong><?php echo $model->contact_city, ', ', $model->contact_state, ', ', $model->contact_country ?></strong></span>
        </li>
        <li>
            <span class="left-ship">Position</span>
            <span class="right-ship"><?php echo $model->getPosition() ?></span>
        </li>
        <li>
            <span class="left-ship">Brief Description:</span>
            <div class="right-ship">
		<?php echo ph($model->content) ?>
            </div>
        </li>
    </ul>    

    <?php
    if (isset($model->resume_builder) && $model->resume_builder) {
	$resumeBuilder = unserialize($model->resume_builder);
	?>
	<?php if ($resumeBuilder['name']) { ?>

	    <h3>More Information</h3>
	    <ul class="reship">
		<li>
		    <div class="header-resumse">Heading</div>
		</li>
		<li>
		    <span class="left-ship">Name</span>
		    <span class="right-ship"><?php echo h($resumeBuilder['name']); ?></span>
		</li>
		<li>
		    <span class="left-ship">Address</span>
		    <span class="right-ship"><?php echo h($resumeBuilder['address']); ?></span>
		</li>
		<li>
		    <span class="left-ship">E-mail</span>
		    <span class="right-ship"><?php echo h($resumeBuilder['email']); ?></span>
		</li>		
		<li>
		    <span class="left-ship">Phone</span>
		    <span class="right-ship"><?php echo h($resumeBuilder['phone']); ?></span>
		</li>

		<li>
		    <div class="header-resumse">Objective</div>
		    <i>A description of skills and employment objective</i><br>
		    <?php echo h($resumeBuilder['job_skill']) ?>
		</li>

		<li>
		    <div class="header-resumse">Employment History</div>

		</li>
		<li>
		    <span class="left-ship">Present</span>
		    <span class="right-ship"><?php echo h($resumeBuilder['job_present']); ?></span>
		</li>
		<li>
		    <span class="left-ship">Previous</span>
		    <span class="right-ship"><?php echo h($resumeBuilder['job_previous']); ?></span>
		</li>

		<li>
		    <div class="header-resumse">Education</div>		    
		</li>
		<li>
		    <span class="left-ship">Special Skills</span>
		    <span class="right-ship"><?php echo h($resumeBuilder['education_skill']); ?></span>
		</li>

	    </ul>
	    <?php
	}
    }
    ?>
    <?php
    if ($model->resume) {
	?>
        File uploaded: Click <a target="_blank" href="<?php echo UPLOAD_URL ?>documents/<?php echo $model->resume ?>"><strong>here</strong></a> to view
        <br><br>
    <?php } ?>   
</div><!--re-center-->